package com.jy.rhin.model.body.ertongjktj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JianKangPG {
    //年龄别身高评价
    @XPath(path = "/entry/observation/code[@code='DE05.10.046.00']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_046_00))
    CodeObject nianLingBSG;

    //年龄别体重
    @XPath(
            path = "/entry/observation/code[@code='DE05.10.047.00']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_047_00))
    CodeObject nianLingBTZ;

    //发育评估
    @XPath(path = "/entry/observation/code[@code='DE05.10.071.00']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_071_00))
    CodeObject faYuPG;

    //发育评估通过标志
    @XPath(model = "code",
            codePath = "/entry/observation/code[@code='DE05.10.017.00']",
            path = "/value/@value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_017_00))
    String faYuPGTGBZ;
}
